package lion.test;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import lion.framework.core.web.anno.ViewType;
import lion.framework.core.web.views.IView;

@ViewType("freemarker")
public class FreeMarkerView implements IView {

	private static final String TYPE_NAME = "freemarker";
	private String name;

	@Override
	public void render(HttpServletRequest request, HttpServletResponse response) throws Exception {
		// render template with freemarker
	}

	@Override
	public String getName() {

		return this.name;
	}

	@Override
	public String type() {

		return TYPE_NAME;
	}

}
